		{checkActionsTpl location="tpl_pligg_group_start"}
		<div id="newsnav_wrapper">
			<ul class="newsnav">
				<li class="active"><a href="#"><span>{$group_name} {#PLIGG_Visual_Groups#}</span></a></li>
				<li><a href="{$URL_groups}"><span class="ucase">Browse {#PLIGG_Visual_Groups#}</span></a></li>
				<li><a href="{$URL_submit_groups}"><span class="ucase">{#PLIGG_Visual_Submit_A_New_Group#}</span></a></li>
			</ul>
		</div>	
		<div class="box groups">
			<div class="group_left"><span><img src="{$imgsrc}" alt="{$group_name}" /></span></div>
			<div class="group_right">
				<div class="toptitle">{$group_name}</div>
				{checkActionsTpl location="tpl_pligg_group_list_start"}
				<div class="titlemeta">{#PLIGG_Visual_Group_Created_By#} <a href="{$submitter_profile_url}">{$group_submitter}</a> {#PLIGG_Visual_Group_Created_On#} {$group_date} &nbsp; | &nbsp; <strong>{#PLIGG_Visual_Group_Member#}</strong> : {$get_group_members}</div>
				<p class="desc a_justify">{$group_description}</p>
				{checkActionsTpl location="tpl_pligg_group_list_end"}
				{if $user_logged_in neq $group_submitter}
				{if $user_logged_in neq ""}
					{if $is_group_member eq 0}
						{if $group_privacy eq 'public'}
						<img src="{$my_base_url}{$my_pligg_base}/templates/{$the_template}/images/icons/join.gif" alt="{#PLIGG_Visual_Group_Join#}" /><a href="{$join_group_url}">&nbsp;{#PLIGG_Visual_Group_Join#}</a>  &nbsp; &nbsp; &nbsp;
						{else}
						<img src="{$my_base_url}{$my_pligg_base}/templates/{$the_template}/images/icons/join.gif" alt="{#PLIGG_Visual_Group_Join#}" /><a href="{$join_group_privacy_url}">&nbsp;{#PLIGG_Visual_Group_Join#}</a>  &nbsp; &nbsp; &nbsp;
						{/if}
					{else}
						{if $is_member_active eq 'active'}
						<img src="{$my_base_url}{$my_pligg_base}/templates/{$the_template}/images/icons/unjoin.gif" alt="{#PLIGG_Visual_Group_Unjoin#}" /><a href="{$unjoin_group_url}">&nbsp;{#PLIGG_Visual_Group_Unjoin#}</a>  &nbsp; &nbsp; &nbsp;
						{/if}
						{if $is_member_active eq 'inactive'}
						<img src="{$my_base_url}{$my_pligg_base}/templates/{$the_template}/images/icons/unjoin.gif" alt="{#PLIGG_Visual_Group_Unjoin#}" /><a href="{$join_group_withdraw}">&nbsp;{#PLIGG_Visual_Group_Withdraw_Request#}</a>  &nbsp; &nbsp; &nbsp;
						{/if}	
					{/if}
				{/if}
				{/if}
				{if $is_group_admin eq '1'}
					<img src="{$my_base_url}{$my_pligg_base}/templates/{$the_template}/images/icons/edit.gif" alt="{#PLIGG_Visual_Group_Text_edit#}" /> <a href="{$group_edit_url}">{#PLIGG_Visual_Group_Text_edit#}</a> &nbsp; &nbsp; &nbsp;
					<img src="{$my_base_url}{$my_pligg_base}/templates/{$the_template}/images/icons/delete.gif" alt="{#PLIGG_Visual_Group_Text_Delete#}" /> <a onclick="return confirm('{#PLIGG_Visual_Group_Delete_Confirm#}')" href="{$group_delete_url}">{#PLIGG_Visual_Group_Text_Delete#}</a> &nbsp; &nbsp; &nbsp;
					<img src="{$my_base_url}{$my_pligg_base}/templates/{$the_template}/images/icons/folder.gif" alt="{#PLIGG_Visual_Group_Avatar_Upload#}" /> <a href="javascript://" onclick="var replydisplay=document.getElementById('image_upload-1').style.display ? '' : 'none';document.getElementById('image_upload-1').style.display = replydisplay;"><span class="propercase">{#PLIGG_Visual_Group_Avatar_Upload#}</span></a>
					{if $Avatar_uploaded neq ''}<div class="msg_success">{$Avatar_uploaded}</div>{/if}
					<div id="image_upload-1" style="display:none;">
						<fieldset>
							<legend>{#PLIGG_Visual_Profile_UploadAvatar2#}:</legend>
							<form method="post" enctype="multipart/form-data" name="image_upload_form" action="{$form_action}">
								{$hidden_token_edit_group}
								<input type="file" name="image_file" size="20" />
								<input type="hidden" name="idname" value="{$group_id}" />
								<input type="hidden" name="avatar" value="uploaded" />
								<input type="hidden" name="avatarsource" value="useruploaded" />
								<button type="submit" value="{#PLIGG_Visual_Profile_AvatarUpload#}" name="action">{#PLIGG_Visual_Profile_AvatarUpload#}</button>
							</form> 
						</fieldset>
					</div>
				{/if}
			</div>
			<div class="clear"></div><br />
			<div class="sort clearfix">
				<ul>
					<li{if $groupview eq "published"} class="active"{/if}><a href="{$groupview_published}"><span>{#PLIGG_Visual_Group_Published#}</span></a></li>
					<li{if $groupview eq "upcoming"} class="active"{/if}><a href="{$groupview_upcoming}"><span>{#PLIGG_Visual_Group_Upcoming#}</span></a></li>
					<li{if $groupview eq "shared"} class="active"{/if}><a href="{$groupview_sharing}"><span>{#PLIGG_Visual_Group_Shared#}</span></a></li>
					<li{if $groupview eq "members"} class="active"{/if}><a href="{$groupview_members}"><span>{#PLIGG_Visual_Group_Member#}</span></a></li>
				</ul>
			</div>
			{if $groupview eq "published"}
			{$group_published_display}
			{$group_display}
			{$group_story_pagination}
			{elseif $groupview eq "upcoming"}
			{$group_display}
			{$group_story_pagination}
			{elseif $groupview eq "shared"}
			{$group_shared_display}
			{$group_story_pagination}
			{elseif $groupview eq "members"}
			<br />
			<div class="clearfix">
				<div class="whovotedwrapper">
					{$member_display}
				</div>
			</div>
			{/if}
		</div>
		{checkActionsTpl location="tpl_pligg_group_end"}